package com.huabo.system.oracle.mapper;


import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huabo.system.oracle.entity.TblProcessAnalysis;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author huabo
 * @since 2021-10-26
 */
@Mapper
public interface TblProcessAnalysisMapper  extends BaseMapper<TblProcessAnalysis> {
	
    @Insert("INSERT INTO TBL_PROCESS_ANALYSIS VALUES(ANALYSIS_SEQUENCE.nextval,#{processname},#{processid},#{userid},null,#{usertaskid})")
    void insertUser(String processname,String processid,String userid,String rolename,String usertaskid) throws Exception;
    
    @Insert("INSERT INTO TBL_PROCESS_ANALYSIS VALUES(ANALYSIS_SEQUENCE.nextval,#{processname},#{processid},null,#{rolename},#{usertaskid})")
    void insertRole(String processname,String processid,String userid,String rolename,String usertaskid) throws Exception;
}
